package com.sevens.dao;

import java.util.List;

import com.sevens.vo.User;

public interface UserDao {

	public User checkUser(String username,String password);

	public Object saveUser(User user);

	public String queryPasswordByUseremail(String useremail);

	public boolean editUser(User user, String repassword);

	public boolean edit(User user);

	public List<User> queryUser(User user);

	public boolean deleteUser(int userID);

	public User queryUserById(int checkedUserId);

	public List<User> queryAllUser();
	public String queryRoles(int userId);
	public String updateUserRole(int userId,String roleIds);

	public User queryUserByName(String name);
	public String queryPermissions(int userId);
}
